package com.example.minzhengtong.ui

import android.content.Context
import android.content.Intent
import android.os.Bundle
import com.example.minzhengtong.base.BaseA
import com.example.minzhengtong.databinding.ActivityFiveChooseBinding
import com.gyf.immersionbar.ImmersionBar

/**
 * created by WY on 2021/5/31.
 */
class FiveChooseA : BaseA(){

    companion object{
        fun enterThis(context: Context){
            val intent = Intent(context,FiveChooseA::class.java)
            context.startActivity(intent)
        }
    }

    private lateinit var binding : ActivityFiveChooseBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = ActivityFiveChooseBinding.inflate(layoutInflater)
        setContentView(binding.root)

        setToolBarVisiabale(false)
        ImmersionBar.with(this).titleBar(binding.titleBar).statusBarDarkFont(true).init()

        binding.gjj.setOnClickListener {
            GJJServiceA.enterThis(baseContext)
        }

        binding.social.setOnClickListener {
            SocialInsuranceA.enterThis(baseContext)
//            SocialInsuranceC.enterThis(baseContext)
        }

        binding.medicial.setOnClickListener {
            MedicalInsuranceA.enterThis(baseContext)
        }

    }

    override fun finish() {
        super.finish()
    }

}